home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / dtrti2.z / dtrti2
Text File  |  1998-10-30  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. DDDDTTTTRRRRTTTTIIII2222((((3333FFFF))))                                                          DDDDTTTTRRRRTTTTIIII2222((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DTRTI2 - compute the inverse of a real upper or lower triangular matrix
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE DTRTI2( UPLO, DIAG, N, A, LDA, INFO )
  13.  
  14.          CHARACTER      DIAG, UPLO
  15.  
  16.          INTEGER        INFO, LDA, N
  17.  
  18.          DOUBLE         PRECISION A( LDA, * )
  19.  
  20. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  21.      DTRTI2 computes the inverse of a real upper or lower triangular matrix.
  22.  
  23.      This is the Level 2 BLAS version of the algorithm.
  24.  
  25.  
  26. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  27.      UPLO    (input) CHARACTER*1
  28.              Specifies whether the matrix A is upper or lower triangular.  =
  29.              'U':  Upper triangular
  30.              = 'L':  Lower triangular
  31.  
  32.      DIAG    (input) CHARACTER*1
  33.              Specifies whether or not the matrix A is unit triangular.  = 'N':
  34.              Non-unit triangular
  35.              = 'U':  Unit triangular
  36.  
  37.      N       (input) INTEGER
  38.              The order of the matrix A.  N >= 0.
  39.  
  40.      A       (input/output) DOUBLE PRECISION array, dimension (LDA,N)
  41.              On entry, the triangular matrix A.  If UPLO = 'U', the leading n
  42.              by n upper triangular part of the array A contains the upper
  43.              triangular matrix, and the strictly lower triangular part of A is
  44.              not referenced.  If UPLO = 'L', the leading n by n lower
  45.              triangular part of the array A contains the lower triangular
  46.              matrix, and the strictly upper triangular part of A is not
  47.              referenced.  If DIAG = 'U', the diagonal elements of A are also
  48.              not referenced and are assumed to be 1.
  49.  
  50.              On exit, the (triangular) inverse of the original matrix, in the
  51.              same storage format.
  52.  
  53.      LDA     (input) INTEGER
  54.              The leading dimension of the array A.  LDA >= max(1,N).
  55.  
  56.      INFO    (output) INTEGER
  57.              = 0: successful exit
  58.              < 0: if INFO = -k, the k-th argument had an illegal value
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.